package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.TakeTwo;
import com.net.tkc.pro.impl.TakeTwoImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TakeTwoService {
    @Resource
    TakeTwoImpl takeTwo;

    public int addTakeTwo(TakeTwo TakeTwo) {
        return takeTwo.addTakeTwo(TakeTwo);
    }

    public int delTakeTwo(int id) {
        return takeTwo.delTakeTwo(id);
    }

    public List<TakeTwo> getTakeList(int takeid) {
        return takeTwo.getTakeList(takeid);
    }

    public int upExamine(int examine, int id) {
        return takeTwo.upExamine(examine,id);
    }
}
